.class public Lcom/ss/android/socialbase/downloader/downloader/c;
.super Ljava/lang/Object;
.source "DownloadComponentManager.java"


# static fields
.field private static A:I

.field private static final B:I

.field private static final C:I

.field private static final D:I

.field private static E:I

.field private static F:Z

.field private static volatile G:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/gn0;",
            ">;"
        }
    .end annotation
.end field

.field private static H:I

.field private static I:Lorg/json/JSONObject;

.field private static J:Les/eo0;

.field private static volatile K:Z

.field private static volatile a:Landroid/content/Context;

.field private static volatile b:Lcom/ss/android/socialbase/downloader/downloader/l;

.field private static volatile c:Lcom/ss/android/socialbase/downloader/downloader/m;

.field private static volatile d:Lcom/ss/android/socialbase/downloader/downloader/j;

.field private static volatile e:Les/sm0;

.field private static volatile f:Lcom/ss/android/socialbase/downloader/impls/a;

.field private static volatile g:Lcom/ss/android/socialbase/downloader/downloader/q;

.field private static volatile h:Lcom/ss/android/socialbase/downloader/downloader/q;

.field private static volatile i:Lcom/ss/android/socialbase/downloader/i/f;

.field private static volatile j:Lcom/ss/android/socialbase/downloader/i/d;

.field private static volatile k:Lcom/ss/android/socialbase/downloader/i/f;

.field private static volatile l:Lcom/ss/android/socialbase/downloader/i/d;

.field private static volatile m:Lcom/ss/android/socialbase/downloader/downloader/n;

.field private static volatile n:Ljava/util/concurrent/ExecutorService;

.field private static volatile o:Ljava/util/concurrent/ExecutorService;

.field private static volatile p:Ljava/util/concurrent/ExecutorService;

.field private static volatile q:Ljava/util/concurrent/ExecutorService;

.field private static volatile r:Lcom/ss/android/socialbase/downloader/downloader/i;

.field private static volatile s:Lcom/ss/android/socialbase/downloader/downloader/a;

.field private static volatile t:Lcom/ss/android/socialbase/downloader/downloader/s;

.field private static volatile u:Lcom/ss/android/socialbase/downloader/downloader/r;

.field private static volatile v:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/wm0;",
            ">;"
        }
    .end annotation
.end field

.field private static volatile w:Z

.field private static volatile x:Lokhttp3/OkHttpClient;

.field private static volatile y:Landroid/app/AlarmManager;

.field private static z:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    sput-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->v:Ljava/util/List;

    const/4 v0, 0x0

    .line 2
    sput-boolean v0, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z

    const/4 v1, 0x0

    .line 3
    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->x:Lokhttp3/OkHttpClient;

    .line 4
    sput-boolean v0, Lcom/ss/android/socialbase/downloader/downloader/c;->z:Z

    .line 5
    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Runtime;->availableProcessors()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    sput v1, Lcom/ss/android/socialbase/downloader/downloader/c;->B:I

    .line 6
    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Runtime;->availableProcessors()I

    move-result v1

    mul-int/lit8 v1, v1, 0x2

    add-int/lit8 v1, v1, 0x1

    sput v1, Lcom/ss/android/socialbase/downloader/downloader/c;->C:I

    .line 7
    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Runtime;->availableProcessors()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    sput v1, Lcom/ss/android/socialbase/downloader/downloader/c;->D:I

    const/16 v1, 0x2000

    .line 8
    sput v1, Lcom/ss/android/socialbase/downloader/downloader/c;->E:I

    .line 9
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->G:Ljava/util/List;

    .line 10
    sput-boolean v0, Lcom/ss/android/socialbase/downloader/downloader/c;->K:Z

    return-void
.end method

.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static A()I
    .locals 1

    .line 1
    sget v0, Lcom/ss/android/socialbase/downloader/downloader/c;->H:I

    return v0
.end method

.method public static B()Lorg/json/JSONObject;
    .locals 2
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    return-object v0
.end method

.method public static declared-synchronized C()I
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget v1, Lcom/ss/android/socialbase/downloader/downloader/c;->E:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static D()Lcom/ss/android/socialbase/downloader/downloader/j;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/c;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/c;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    return-object v0
.end method

.method public static E()Les/sm0;
    .locals 1

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->e:Les/sm0;

    return-object v0
.end method

.method public static F()Lcom/ss/android/socialbase/downloader/downloader/i;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/b;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/b;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    return-object v0
.end method

.method public static a(Les/zn0;)I
    .locals 1

    if-nez p0, :cond_0

    const/4 p0, 0x0

    return p0

    .line 112
    :cond_0
    invoke-virtual {p0}, Les/zn0;->Q0()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Les/zn0;->R0()Ljava/lang/String;

    move-result-object p0

    invoke-static {v0, p0}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p0

    return p0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;)I
    .locals 1

    .line 113
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->y()Lcom/ss/android/socialbase/downloader/downloader/m;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 p0, 0x0

    return p0

    .line 114
    :cond_0
    invoke-interface {v0, p0, p1}, Lcom/ss/android/socialbase/downloader/downloader/m;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p0

    return p0
.end method

.method public static a()Lcom/ss/android/socialbase/downloader/downloader/s;
    .locals 2

    .line 102
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    if-nez v0, :cond_1

    .line 103
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 104
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    if-nez v1, :cond_0

    .line 105
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/j;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/j;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    .line 106
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 107
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    return-object v0
.end method

.method public static a(Ljava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/c;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Les/bo0;",
            ">;)",
            "Lcom/ss/android/socialbase/downloader/i/c;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/ss/android/socialbase/downloader/e/a;,
            Ljava/io/IOException;
        }
    .end annotation

    .line 78
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->k()Lcom/ss/android/socialbase/downloader/i/d;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 79
    :try_start_0
    invoke-interface {v0, p0, p1}, Lcom/ss/android/socialbase/downloader/i/d;->a(Ljava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/c;

    move-result-object v0
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    move-object v3, v1

    move-object v1, v0

    move-object v0, v3

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_0

    :cond_0
    move-object v0, v1

    :goto_0
    if-nez v1, :cond_1

    .line 80
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->m()Lcom/ss/android/socialbase/downloader/i/d;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 81
    invoke-interface {v2, p0, p1}, Lcom/ss/android/socialbase/downloader/i/d;->a(Ljava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/c;

    move-result-object v1

    :cond_1
    if-nez v1, :cond_3

    if-nez v0, :cond_2

    goto :goto_1

    .line 82
    :cond_2
    throw v0

    :cond_3
    :goto_1
    return-object v1
.end method

.method public static a(ZILjava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/e;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(ZI",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Les/bo0;",
            ">;)",
            "Lcom/ss/android/socialbase/downloader/i/e;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/ss/android/socialbase/downloader/e/a;,
            Ljava/io/IOException;
        }
    .end annotation

    .line 71
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->i()Lcom/ss/android/socialbase/downloader/i/f;

    move-result-object v0

    if-nez v0, :cond_1

    if-eqz p0, :cond_0

    goto :goto_0

    .line 72
    :cond_0
    new-instance p0, Lcom/ss/android/socialbase/downloader/e/a;

    const/16 p1, 0x3fe

    new-instance p2, Ljava/io/IOException;

    const-string p3, "download can\'t continue, because httpService not exist"

    invoke-direct {p2, p3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    invoke-direct {p0, p1, p2}, Lcom/ss/android/socialbase/downloader/e/a;-><init>(ILjava/lang/Throwable;)V

    throw p0

    :cond_1
    :goto_0
    const/4 v1, 0x0

    if-eqz v0, :cond_2

    .line 73
    :try_start_0
    invoke-interface {v0, p1, p2, p3}, Lcom/ss/android/socialbase/downloader/i/f;->a(ILjava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/e;

    move-result-object v2
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    move-object v3, v2

    move-object v2, v1

    move-object v1, v3

    goto :goto_1

    :catch_0
    move-exception v2

    goto :goto_1

    :cond_2
    move-object v2, v1

    :goto_1
    if-eqz p0, :cond_4

    if-nez v1, :cond_4

    if-eqz v0, :cond_3

    .line 74
    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p0

    const-class v0, Lcom/ss/android/socialbase/downloader/impls/g;

    if-eq p0, v0, :cond_4

    .line 75
    :cond_3
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->l()Lcom/ss/android/socialbase/downloader/i/f;

    move-result-object p0

    if-eqz p0, :cond_4

    .line 76
    invoke-interface {p0, p1, p2, p3}, Lcom/ss/android/socialbase/downloader/i/f;->a(ILjava/lang/String;Ljava/util/List;)Lcom/ss/android/socialbase/downloader/i/e;

    move-result-object v1

    :cond_4
    if-nez v1, :cond_6

    if-nez v2, :cond_5

    goto :goto_2

    .line 77
    :cond_5
    throw v2

    :cond_6
    :goto_2
    return-object v1
.end method

.method private static a(I)V
    .locals 0

    if-lez p0, :cond_0

    .line 94
    sput p0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    :cond_0
    return-void
.end method

.method public static declared-synchronized a(Landroid/content/Context;)V
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    if-eqz p0, :cond_0

    .line 108
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;

    if-nez v1, :cond_0

    .line 109
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;

    .line 110
    invoke-static {}, Les/hm0;->c()Les/hm0;

    move-result-object p0

    invoke-virtual {p0}, Les/hm0;->a()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0

    .line 111
    :cond_0
    :goto_0
    monitor-exit v0

    return-void
.end method

.method public static a(Lcom/ss/android/socialbase/downloader/b/d;)V
    .locals 4

    .line 59
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->G:Ljava/util/List;

    monitor-enter v0

    .line 60
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->G:Ljava/util/List;

    if-nez v1, :cond_0

    .line 61
    monitor-exit v0

    return-void

    .line 62
    :cond_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->G:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .line 63
    :cond_1
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    .line 64
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/gn0;

    if-eqz v2, :cond_1

    .line 65
    sget-object v3, Lcom/ss/android/socialbase/downloader/b/d;->b:Lcom/ss/android/socialbase/downloader/b/d;

    if-ne p0, v3, :cond_2

    .line 66
    invoke-interface {v2}, Les/gn0;->a()V

    goto :goto_0

    .line 67
    :cond_2
    sget-object v3, Lcom/ss/android/socialbase/downloader/b/d;->c:Lcom/ss/android/socialbase/downloader/b/d;

    if-ne p0, v3, :cond_1

    .line 68
    invoke-interface {v2}, Les/gn0;->b()V

    goto :goto_0

    .line 69
    :cond_3
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->G:Ljava/util/List;

    invoke-interface {p0}, Ljava/util/List;->clear()V

    .line 70
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_2

    :goto_1
    throw p0

    :goto_2
    goto :goto_1
.end method

.method static declared-synchronized a(Lcom/ss/android/socialbase/downloader/downloader/h;)V
    .locals 5

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->K:Z

    if-eqz v1, :cond_0

    const-string p0, "DownloadComponentManager"

    const-string v1, "component has init"

    .line 2
    invoke-static {p0, v1}, Les/wn0;->e(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 3
    monitor-exit v0

    return-void

    .line 4
    :cond_0
    :try_start_1
    sget-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z

    const/4 v2, 0x1

    if-eqz p0, :cond_4

    .line 5
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->a()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Landroid/content/Context;)V

    .line 6
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->b()Lcom/ss/android/socialbase/downloader/downloader/l;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/l;)V

    .line 7
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->c()Lcom/ss/android/socialbase/downloader/downloader/m;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/m;)V

    .line 8
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->l()Lcom/ss/android/socialbase/downloader/downloader/j;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/j;)V

    .line 9
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->r()Les/sm0;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Les/sm0;)V

    .line 10
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->k()I

    move-result v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(I)V

    .line 11
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->d()Lcom/ss/android/socialbase/downloader/i/f;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/i/f;)V

    .line 12
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->e()Lcom/ss/android/socialbase/downloader/i/d;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/i/d;)V

    .line 13
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->f()Lcom/ss/android/socialbase/downloader/downloader/n;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/n;)V

    .line 14
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->g()Ljava/util/concurrent/ExecutorService;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->b(Ljava/util/concurrent/ExecutorService;)V

    .line 15
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->h()Ljava/util/concurrent/ExecutorService;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->c(Ljava/util/concurrent/ExecutorService;)V

    .line 16
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->i()Ljava/util/concurrent/ExecutorService;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->d(Ljava/util/concurrent/ExecutorService;)V

    .line 17
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->j()Ljava/util/concurrent/ExecutorService;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Ljava/util/concurrent/ExecutorService;)V

    .line 18
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->p()Lcom/ss/android/socialbase/downloader/downloader/r;

    move-result-object v3

    if-eqz v3, :cond_1

    .line 19
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->p()Lcom/ss/android/socialbase/downloader/downloader/r;

    move-result-object v3

    sput-object v3, Lcom/ss/android/socialbase/downloader/downloader/c;->u:Lcom/ss/android/socialbase/downloader/downloader/r;

    .line 20
    :cond_1
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->n()I

    move-result v3

    const/16 v4, 0x400

    if-le v3, v4, :cond_2

    .line 21
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->n()I

    move-result v3

    sput v3, Lcom/ss/android/socialbase/downloader/downloader/c;->E:I

    .line 22
    :cond_2
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->m()Lcom/ss/android/socialbase/downloader/downloader/i;

    move-result-object v3

    invoke-static {v3}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/i;)V

    .line 23
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->o()Z

    move-result v3

    if-eqz v3, :cond_3

    .line 24
    sput-boolean v2, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z

    .line 25
    :cond_3
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->q()I

    move-result v3

    sput v3, Lcom/ss/android/socialbase/downloader/downloader/c;->H:I

    .line 26
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->s()Lorg/json/JSONObject;

    move-result-object p0

    invoke-static {p0}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lorg/json/JSONObject;)V

    .line 27
    :cond_4
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    if-nez p0, :cond_5

    .line 28
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/d;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/d;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    .line 29
    :cond_5
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez p0, :cond_6

    .line 30
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/h;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/h;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    .line 31
    :cond_6
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez p0, :cond_7

    .line 32
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/n;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/n;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    .line 33
    :cond_7
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    if-nez p0, :cond_8

    .line 34
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/i;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/i;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    .line 35
    :cond_8
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    if-nez p0, :cond_9

    .line 36
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/e;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/e;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    .line 37
    :cond_9
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    if-nez p0, :cond_a

    .line 38
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/c;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/c;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    .line 39
    :cond_a
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    if-nez p0, :cond_b

    .line 40
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/b;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/b;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    .line 41
    :cond_b
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    if-nez p0, :cond_c

    .line 42
    new-instance p0, Lcom/ss/android/socialbase/downloader/impls/j;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/impls/j;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->t:Lcom/ss/android/socialbase/downloader/downloader/s;

    .line 43
    :cond_c
    sget p0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    if-lez p0, :cond_d

    sget p0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    sget v3, Lcom/ss/android/socialbase/downloader/downloader/c;->B:I

    if-le p0, v3, :cond_e

    .line 44
    :cond_d
    sget p0, Lcom/ss/android/socialbase/downloader/downloader/c;->B:I

    sput p0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    .line 45
    :cond_e
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->e()V

    .line 46
    sget-boolean p0, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z

    if-eqz p0, :cond_f

    if-nez v1, :cond_f

    invoke-static {}, Lcom/ss/android/socialbase/downloader/m/f;->c()Z

    move-result p0

    if-nez p0, :cond_f

    .line 47
    invoke-static {v2}, Lcom/ss/android/socialbase/downloader/impls/l;->a(Z)Lcom/ss/android/socialbase/downloader/downloader/o;

    move-result-object p0

    invoke-interface {p0}, Lcom/ss/android/socialbase/downloader/downloader/o;->d()V

    goto :goto_0

    .line 48
    :cond_f
    invoke-static {}, Lcom/ss/android/socialbase/downloader/m/f;->d()Z

    move-result p0

    if-eqz p0, :cond_10

    .line 49
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->q()Ljava/util/concurrent/ExecutorService;

    move-result-object p0

    if-eqz p0, :cond_11

    .line 50
    new-instance v1, Lcom/ss/android/socialbase/downloader/downloader/c$a;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/downloader/c$a;-><init>()V

    invoke-interface {p0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 51
    :cond_10
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object p0

    if-eqz p0, :cond_11

    .line 52
    invoke-static {p0}, Lcom/ss/android/socialbase/downloader/m/f;->c(Landroid/content/Context;)Ljava/lang/String;

    .line 53
    :cond_11
    :goto_0
    invoke-static {}, Les/go0;->a()V

    .line 54
    sput-boolean v2, Lcom/ss/android/socialbase/downloader/downloader/c;->K:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 55
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/downloader/i;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 101
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->r:Lcom/ss/android/socialbase/downloader/downloader/i;

    :cond_0
    return-void
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/downloader/j;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 99
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->d:Lcom/ss/android/socialbase/downloader/downloader/j;

    :cond_0
    return-void
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/downloader/l;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 92
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    :cond_0
    return-void
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/downloader/m;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 93
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    :cond_0
    return-void
.end method

.method public static declared-synchronized a(Lcom/ss/android/socialbase/downloader/downloader/n;)V
    .locals 1

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    if-eqz p0, :cond_0

    .line 83
    :try_start_0
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->m:Lcom/ss/android/socialbase/downloader/downloader/n;

    .line 84
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    instance-of p0, p0, Lcom/ss/android/socialbase/downloader/impls/d;

    if-eqz p0, :cond_0

    .line 85
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    check-cast p0, Lcom/ss/android/socialbase/downloader/impls/d;

    .line 86
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/impls/d;->g()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0

    .line 87
    :cond_0
    :goto_0
    monitor-exit v0

    return-void
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/i/d;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 91
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->j:Lcom/ss/android/socialbase/downloader/i/d;

    :cond_0
    return-void
.end method

.method private static a(Lcom/ss/android/socialbase/downloader/i/f;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 89
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    .line 90
    :cond_0
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    if-eqz p0, :cond_1

    const/4 p0, 0x1

    goto :goto_0

    :cond_1
    const/4 p0, 0x0

    :goto_0
    sput-boolean p0, Lcom/ss/android/socialbase/downloader/downloader/c;->F:Z

    return-void
.end method

.method public static a(Les/sm0;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 100
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->e:Les/sm0;

    :cond_0
    return-void
.end method

.method public static a(Les/wm0;)V
    .locals 2

    if-nez p0, :cond_0

    return-void

    .line 56
    :cond_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->v:Ljava/util/List;

    monitor-enter v0

    .line 57
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->v:Ljava/util/List;

    invoke-interface {v1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 58
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0
.end method

.method public static a(Ljava/util/concurrent/ExecutorService;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 88
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->q:Ljava/util/concurrent/ExecutorService;

    :cond_0
    return-void
.end method

.method public static a(Lorg/json/JSONObject;)V
    .locals 1

    .line 95
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    if-eq v0, p0, :cond_1

    if-nez p0, :cond_0

    .line 96
    new-instance p0, Lorg/json/JSONObject;

    invoke-direct {p0}, Lorg/json/JSONObject;-><init>()V

    .line 97
    :cond_0
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->I:Lorg/json/JSONObject;

    .line 98
    invoke-static {}, Les/jo0;->a()V

    :cond_1
    return-void
.end method

.method public static declared-synchronized b()Landroid/content/Context;
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 2
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method private static b(Ljava/util/concurrent/ExecutorService;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 1
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->n:Ljava/util/concurrent/ExecutorService;

    :cond_0
    return-void
.end method

.method private static c(Ljava/util/concurrent/ExecutorService;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 1
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->o:Ljava/util/concurrent/ExecutorService;

    :cond_0
    return-void
.end method

.method public static declared-synchronized c()Z
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 2
    :try_start_0
    sget-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->F:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static d()Les/eo0;
    .locals 1

    .line 2
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->J:Les/eo0;

    return-object v0
.end method

.method private static d(Ljava/util/concurrent/ExecutorService;)V
    .locals 0

    if-eqz p0, :cond_0

    .line 1
    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/c;->p:Ljava/util/concurrent/ExecutorService;

    :cond_0
    return-void
.end method

.method private static e()V
    .locals 3

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->s:Lcom/ss/android/socialbase/downloader/downloader/a;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/ss/android/socialbase/downloader/downloader/a;

    invoke-direct {v0}, Lcom/ss/android/socialbase/downloader/downloader/a;-><init>()V

    sput-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->s:Lcom/ss/android/socialbase/downloader/downloader/a;

    .line 3
    :cond_0
    sget-boolean v0, Lcom/ss/android/socialbase/downloader/downloader/c;->z:Z

    if-eqz v0, :cond_1

    return-void

    .line 4
    :cond_1
    :try_start_0
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    const-string v1, "android.net.conn.CONNECTIVITY_CHANGE"

    .line 5
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 6
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;

    sget-object v2, Lcom/ss/android/socialbase/downloader/downloader/c;->s:Lcom/ss/android/socialbase/downloader/downloader/a;

    invoke-virtual {v1, v2, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    const/4 v0, 0x1

    .line 7
    sput-boolean v0, Lcom/ss/android/socialbase/downloader/downloader/c;->z:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    .line 8
    invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private static f()I
    .locals 2

    .line 1
    sget v0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    if-lez v0, :cond_0

    sget v1, Lcom/ss/android/socialbase/downloader/downloader/c;->B:I

    if-le v0, v1, :cond_1

    .line 2
    :cond_0
    sget v0, Lcom/ss/android/socialbase/downloader/downloader/c;->B:I

    sput v0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    .line 3
    :cond_1
    sget v0, Lcom/ss/android/socialbase/downloader/downloader/c;->A:I

    return v0
.end method

.method public static declared-synchronized g()V
    .locals 5

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    if-eqz v1, :cond_0

    .line 2
    monitor-exit v0

    return-void

    :cond_0
    const/4 v1, 0x1

    .line 3
    :try_start_1
    sput-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    .line 4
    :try_start_2
    new-instance v2, Landroid/content/Intent;

    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/ss/android/socialbase/downloader/impls/DownloadHandleService;

    invoke-direct {v2, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v3, "com.ss.android.downloader.action.MULTI_PROCESS_NOTIFY"

    .line 5
    invoke-virtual {v2, v3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 6
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    .line 7
    invoke-static {}, Lcom/ss/android/socialbase/downloader/m/f;->c()Z

    move-result v2

    if-nez v2, :cond_1

    .line 8
    invoke-static {v1}, Lcom/ss/android/socialbase/downloader/impls/l;->a(Z)Lcom/ss/android/socialbase/downloader/downloader/o;

    move-result-object v1

    invoke-interface {v1}, Lcom/ss/android/socialbase/downloader/downloader/o;->d()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v1

    const/4 v2, 0x0

    .line 9
    :try_start_3
    sput-boolean v2, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z

    .line 10
    invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    .line 11
    :cond_1
    :goto_0
    monitor-exit v0

    return-void

    :catchall_1
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static declared-synchronized h()Z
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget-boolean v1, Lcom/ss/android/socialbase/downloader/downloader/c;->w:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static i()Lcom/ss/android/socialbase/downloader/i/f;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/g;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/g;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->i:Lcom/ss/android/socialbase/downloader/i/f;

    return-object v0
.end method

.method public static j()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/wm0;",
            ">;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->v:Ljava/util/List;

    monitor-enter v0

    .line 2
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->v:Ljava/util/List;

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 3
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public static k()Lcom/ss/android/socialbase/downloader/i/d;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->j:Lcom/ss/android/socialbase/downloader/i/d;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->j:Lcom/ss/android/socialbase/downloader/i/d;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/f;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/f;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->j:Lcom/ss/android/socialbase/downloader/i/d;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->j:Lcom/ss/android/socialbase/downloader/i/d;

    return-object v0
.end method

.method public static l()Lcom/ss/android/socialbase/downloader/i/f;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->k:Lcom/ss/android/socialbase/downloader/i/f;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->k:Lcom/ss/android/socialbase/downloader/i/f;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/g;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/g;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->k:Lcom/ss/android/socialbase/downloader/i/f;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->k:Lcom/ss/android/socialbase/downloader/i/f;

    return-object v0
.end method

.method public static m()Lcom/ss/android/socialbase/downloader/i/d;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->l:Lcom/ss/android/socialbase/downloader/i/d;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->l:Lcom/ss/android/socialbase/downloader/i/d;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/f;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/f;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->l:Lcom/ss/android/socialbase/downloader/i/d;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->l:Lcom/ss/android/socialbase/downloader/i/d;

    return-object v0
.end method

.method public static n()Landroid/app/AlarmManager;
    .locals 3

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->y:Landroid/app/AlarmManager;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->y:Landroid/app/AlarmManager;

    if-nez v1, :cond_0

    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;

    if-eqz v1, :cond_0

    .line 4
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->a:Landroid/content/Context;

    const-string v2, "alarm"

    invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/app/AlarmManager;

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->y:Landroid/app/AlarmManager;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->y:Landroid/app/AlarmManager;

    return-object v0
.end method

.method public static declared-synchronized o()Lcom/ss/android/socialbase/downloader/downloader/r;
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->u:Lcom/ss/android/socialbase/downloader/downloader/r;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static p()Ljava/util/concurrent/ExecutorService;
    .locals 11

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->n:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->n:Ljava/util/concurrent/ExecutorService;

    if-nez v1, :cond_0

    .line 4
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->f()I

    move-result v4

    .line 5
    new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;

    const-wide/16 v5, 0xf

    sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    new-instance v8, Ljava/util/concurrent/LinkedBlockingQueue;

    invoke-direct {v8}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V

    new-instance v9, Lcom/ss/android/socialbase/downloader/l/a;

    const-string v2, "DownloadThreadPool-cpu-fixed"

    const/4 v10, 0x1

    invoke-direct {v9, v2, v10}, Lcom/ss/android/socialbase/downloader/l/a;-><init>(Ljava/lang/String;Z)V

    move-object v2, v1

    move v3, v4

    invoke-direct/range {v2 .. v9}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 6
    :try_start_1
    invoke-virtual {v1, v10}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v2

    .line 7
    :try_start_2
    invoke-virtual {v2}, Ljava/lang/Throwable;->printStackTrace()V

    .line 8
    :goto_0
    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->n:Ljava/util/concurrent/ExecutorService;

    .line 9
    :cond_0
    monitor-exit v0

    goto :goto_1

    :catchall_1
    move-exception v1

    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    throw v1

    .line 10
    :cond_1
    :goto_1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->n:Ljava/util/concurrent/ExecutorService;

    return-object v0
.end method

.method public static q()Ljava/util/concurrent/ExecutorService;
    .locals 11

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->o:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->o:Ljava/util/concurrent/ExecutorService;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;

    sget v3, Lcom/ss/android/socialbase/downloader/downloader/c;->C:I

    sget v4, Lcom/ss/android/socialbase/downloader/downloader/c;->C:I

    const-wide/16 v5, 0xf

    sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    new-instance v8, Ljava/util/concurrent/LinkedBlockingQueue;

    invoke-direct {v8}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V

    new-instance v9, Lcom/ss/android/socialbase/downloader/l/a;

    const-string v2, "DownloadThreadPool-io-fixed"

    const/4 v10, 0x1

    invoke-direct {v9, v2, v10}, Lcom/ss/android/socialbase/downloader/l/a;-><init>(Ljava/lang/String;Z)V

    move-object v2, v1

    invoke-direct/range {v2 .. v9}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 5
    :try_start_1
    invoke-virtual {v1, v10}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v2

    .line 6
    :try_start_2
    invoke-virtual {v2}, Ljava/lang/Throwable;->printStackTrace()V

    .line 7
    :goto_0
    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->o:Ljava/util/concurrent/ExecutorService;

    .line 8
    :cond_0
    monitor-exit v0

    goto :goto_1

    :catchall_1
    move-exception v1

    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    throw v1

    .line 9
    :cond_1
    :goto_1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->o:Ljava/util/concurrent/ExecutorService;

    return-object v0
.end method

.method public static r()Ljava/util/concurrent/ExecutorService;
    .locals 11

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->q:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->q:Ljava/util/concurrent/ExecutorService;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;

    sget v3, Lcom/ss/android/socialbase/downloader/downloader/c;->C:I

    sget v4, Lcom/ss/android/socialbase/downloader/downloader/c;->C:I

    const-wide/16 v5, 0xf

    sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    new-instance v8, Ljava/util/concurrent/LinkedBlockingQueue;

    invoke-direct {v8}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V

    new-instance v9, Lcom/ss/android/socialbase/downloader/l/a;

    const-string v2, "DownloadThreadPool-chunk-fixed"

    const/4 v10, 0x1

    invoke-direct {v9, v2, v10}, Lcom/ss/android/socialbase/downloader/l/a;-><init>(Ljava/lang/String;Z)V

    move-object v2, v1

    invoke-direct/range {v2 .. v9}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 5
    :try_start_1
    invoke-virtual {v1, v10}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v2

    .line 6
    :try_start_2
    invoke-virtual {v2}, Ljava/lang/Throwable;->printStackTrace()V

    .line 7
    :goto_0
    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->q:Ljava/util/concurrent/ExecutorService;

    .line 8
    :cond_0
    monitor-exit v0

    goto :goto_1

    :catchall_1
    move-exception v1

    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    throw v1

    .line 9
    :cond_1
    :goto_1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->q:Ljava/util/concurrent/ExecutorService;

    return-object v0
.end method

.method public static s()Ljava/util/concurrent/ExecutorService;
    .locals 11

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->p:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->p:Ljava/util/concurrent/ExecutorService;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;

    sget v3, Lcom/ss/android/socialbase/downloader/downloader/c;->D:I

    sget v4, Lcom/ss/android/socialbase/downloader/downloader/c;->D:I

    const-wide/16 v5, 0xf

    sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    new-instance v8, Ljava/util/concurrent/LinkedBlockingQueue;

    invoke-direct {v8}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V

    new-instance v9, Lcom/ss/android/socialbase/downloader/l/a;

    const-string v2, "DownloadThreadPool-db-fixed"

    const/4 v10, 0x1

    invoke-direct {v9, v2, v10}, Lcom/ss/android/socialbase/downloader/l/a;-><init>(Ljava/lang/String;Z)V

    move-object v2, v1

    invoke-direct/range {v2 .. v9}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 5
    :try_start_1
    invoke-virtual {v1, v10}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v2

    .line 6
    :try_start_2
    invoke-virtual {v2}, Ljava/lang/Throwable;->printStackTrace()V

    .line 7
    :goto_0
    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->p:Ljava/util/concurrent/ExecutorService;

    .line 8
    :cond_0
    monitor-exit v0

    goto :goto_1

    :catchall_1
    move-exception v1

    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    throw v1

    .line 9
    :cond_1
    :goto_1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->p:Ljava/util/concurrent/ExecutorService;

    return-object v0
.end method

.method public static t()Lokhttp3/OkHttpClient;
    .locals 6

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->x:Lokhttp3/OkHttpClient;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->x:Lokhttp3/OkHttpClient;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lokhttp3/OkHttpClient$Builder;

    invoke-direct {v1}, Lokhttp3/OkHttpClient$Builder;-><init>()V

    .line 5
    sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    const-wide/16 v3, 0x7530

    invoke-virtual {v1, v3, v4, v2}, Lokhttp3/OkHttpClient$Builder;->connectTimeout(JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    .line 6
    invoke-virtual {v2, v3, v4, v5}, Lokhttp3/OkHttpClient$Builder;->readTimeout(JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    .line 7
    invoke-virtual {v2, v3, v4, v5}, Lokhttp3/OkHttpClient$Builder;->writeTimeout(JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    const/4 v3, 0x1

    .line 8
    invoke-virtual {v2, v3}, Lokhttp3/OkHttpClient$Builder;->retryOnConnectionFailure(Z)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    new-instance v4, Lokhttp3/Dispatcher;

    .line 9
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->q()Ljava/util/concurrent/ExecutorService;

    move-result-object v5

    invoke-direct {v4, v5}, Lokhttp3/Dispatcher;-><init>(Ljava/util/concurrent/ExecutorService;)V

    invoke-virtual {v2, v4}, Lokhttp3/OkHttpClient$Builder;->dispatcher(Lokhttp3/Dispatcher;)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    .line 10
    invoke-virtual {v2, v3}, Lokhttp3/OkHttpClient$Builder;->followRedirects(Z)Lokhttp3/OkHttpClient$Builder;

    move-result-object v2

    sget-object v3, Lokhttp3/Protocol;->HTTP_1_1:Lokhttp3/Protocol;

    .line 11
    invoke-static {v3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v3

    invoke-virtual {v2, v3}, Lokhttp3/OkHttpClient$Builder;->protocols(Ljava/util/List;)Lokhttp3/OkHttpClient$Builder;

    .line 12
    invoke-virtual {v1}, Lokhttp3/OkHttpClient$Builder;->build()Lokhttp3/OkHttpClient;

    move-result-object v1

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->x:Lokhttp3/OkHttpClient;

    .line 13
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 14
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->x:Lokhttp3/OkHttpClient;

    return-object v0
.end method

.method public static declared-synchronized u()Lcom/ss/android/socialbase/downloader/downloader/n;
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 1
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->m:Lcom/ss/android/socialbase/downloader/downloader/n;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static v()Lcom/ss/android/socialbase/downloader/downloader/l;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/d;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/d;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->b:Lcom/ss/android/socialbase/downloader/downloader/l;

    return-object v0
.end method

.method public static w()Lcom/ss/android/socialbase/downloader/downloader/q;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/h;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/h;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->g:Lcom/ss/android/socialbase/downloader/downloader/q;

    return-object v0
.end method

.method public static x()Lcom/ss/android/socialbase/downloader/downloader/q;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/n;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/n;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->h:Lcom/ss/android/socialbase/downloader/downloader/q;

    return-object v0
.end method

.method public static y()Lcom/ss/android/socialbase/downloader/downloader/m;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/i;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/i;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->c:Lcom/ss/android/socialbase/downloader/downloader/m;

    return-object v0
.end method

.method public static z()Lcom/ss/android/socialbase/downloader/impls/a;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/c;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/downloader/impls/e;

    invoke-direct {v1}, Lcom/ss/android/socialbase/downloader/impls/e;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/c;->f:Lcom/ss/android/socialbase/downloader/impls/a;

    return-object v0
.end method
